local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1
L0_1 = {}
L0_1.group_id = 133222206
L1_1 = {}
L1_1.groupId = 133222206
L1_1.upConfig = 206003
L1_1.downConfig = 206002
L1_1.operatorConfig = 206004
L2_1 = {}
L3_1 = 1
L4_1 = 2
L5_1 = 1
L6_1 = 3
L7_1 = 1
L8_1 = 2
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L2_1[5] = L7_1
L2_1[6] = L8_1
L1_1.upNum = L2_1
L2_1 = {}
L3_1 = 2
L4_1 = 1
L5_1 = 1
L6_1 = 2
L7_1 = 3
L8_1 = 1
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L2_1[5] = L7_1
L2_1[6] = L8_1
L1_1.downNum = L2_1
L2_1 = {}
L3_1 = 3
L4_1 = 5
L5_1 = 6
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L1_1.careFaceIndex = L2_1
L2_1 = {}
L3_1 = 3
L4_1 = 2
L5_1 = 4
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L1_1.targetFaceNum = L2_1
L2_1 = {}
L3_1 = "SGV_Light_01"
L4_1 = "SGV_Light_02"
L5_1 = "SGV_Light_03"
L6_1 = "SGV_Light_04"
L7_1 = "SGV_Light_05"
L8_1 = "SGV_Light_06"
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L2_1[5] = L7_1
L2_1[6] = L8_1
L1_1.SGVList = L2_1
L2_1 = {}
L3_1 = {}
L3_1.index = 1
L3_1.next = 201
L2_1[0] = L3_1
L3_1 = {}
L3_1.index = 2
L3_1.next = 202
L2_1[201] = L3_1
L3_1 = {}
L3_1.index = 3
L3_1.next = 203
L2_1[202] = L3_1
L3_1 = {}
L3_1.index = 4
L3_1.next = 204
L2_1[203] = L3_1
L3_1 = {}
L3_1.index = 5
L3_1.next = 901
L2_1[204] = L3_1
L3_1 = {}
L3_1.index = 6
L3_1.next = 0
L2_1[901] = L3_1
L3_1 = {}
monsters = L3_1
L3_1 = {}
npcs = L3_1
L3_1 = {}
L4_1 = {}
L4_1.config_id = 206001
L4_1.gadget_id = 70360177
L5_1 = {}
L5_1.x = -4440.859
L5_1.y = 224.463
L5_1.z = -4541.18
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 345.209
L5_1.y = 315.284
L5_1.z = 349.976
L4_1.rot = L5_1
L4_1.level = 30
L4_1.persistent = true
L4_1.area_id = 14
L3_1[206001] = L4_1
L4_1 = {}
L4_1.config_id = 206002
L4_1.gadget_id = 70360174
L5_1 = {}
L5_1.x = -4540.604
L5_1.y = 200.906
L5_1.z = -4470.994
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 10.574
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 30
L5_1 = GadgetState
L5_1 = L5_1.GearStart
L4_1.state = L5_1
L4_1.persistent = true
L4_1.area_id = 14
L3_1[206002] = L4_1
L4_1 = {}
L4_1.config_id = 206003
L4_1.gadget_id = 70360173
L5_1 = {}
L5_1.x = -4540.604
L5_1.y = 200.906
L5_1.z = -4470.994
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 10.574
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 30
L5_1 = GadgetState
L5_1 = L5_1.GearAction1
L4_1.state = L5_1
L4_1.persistent = true
L4_1.area_id = 14
L3_1[206003] = L4_1
L4_1 = {}
L4_1.config_id = 206004
L4_1.gadget_id = 70360286
L5_1 = {}
L5_1.x = -4540.657
L5_1.y = 202.034
L5_1.z = -4470.651
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 355.525
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 30
L4_1.persistent = true
L4_1.area_id = 14
L3_1[206004] = L4_1
L4_1 = {}
L4_1.config_id = 206005
L4_1.gadget_id = 70360178
L5_1 = {}
L5_1.x = -4552.206
L5_1.y = 199.766
L5_1.z = -4461.42
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 349.87
L5_1.y = 141.454
L5_1.z = 0.97
L4_1.rot = L5_1
L4_1.level = 30
L4_1.persistent = true
L4_1.area_id = 14
L3_1[206005] = L4_1
L4_1 = {}
L4_1.config_id = 206006
L4_1.gadget_id = 70360176
L5_1 = {}
L5_1.x = -4538.874
L5_1.y = 200.592
L5_1.z = -4462.206
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 349.029
L5_1.y = 183.454
L5_1.z = 4.726
L4_1.rot = L5_1
L4_1.level = 30
L4_1.persistent = true
L4_1.area_id = 14
L3_1[206006] = L4_1
gadgets = L3_1
L3_1 = {}
L4_1 = {}
L4_1.config_id = 206008
L5_1 = RegionShape
L5_1 = L5_1.SPHERE
L4_1.shape = L5_1
L4_1.radius = 5
L5_1 = {}
L5_1.x = -4540.544
L5_1.y = 200.913
L5_1.z = -4470.977
L4_1.pos = L5_1
L4_1.area_id = 14
L3_1[206008] = L4_1
regions = L3_1
L3_1 = {}
L4_1 = {}
L4_1.config_id = 1206007
L4_1.name = "GADGET_STATE_CHANGE_206007"
L5_1 = EventType
L5_1 = L5_1.EVENT_GADGET_STATE_CHANGE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_206007"
L4_1.action = "action_EVENT_GADGET_STATE_CHANGE_206007"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1206008
L5_1.name = "ENTER_REGION_206008"
L6_1 = EventType
L6_1 = L6_1.EVENT_ENTER_REGION
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = ""
L5_1.action = ""
L6_1 = {}
L6_1.config_id = 1206009
L6_1.name = "QUEST_START_206009"
L7_1 = EventType
L7_1 = L7_1.EVENT_QUEST_START
L6_1.event = L7_1
L6_1.source = "7215605"
L6_1.condition = ""
L6_1.action = "action_EVENT_QUEST_START_206009"
L6_1.trigger_count = 0
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
triggers = L3_1
L3_1 = {}
variables = L3_1
L3_1 = {}
L3_1.suite = 1
L3_1.end_suite = 0
L3_1.rand_suite = false
init_config = L3_1
L3_1 = {}
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L6_1 = 206001
L7_1 = 206002
L8_1 = 206003
L9_1 = 206004
L10_1 = 206005
L11_1 = 206006
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L5_1[4] = L9_1
L5_1[5] = L10_1
L5_1[6] = L11_1
L4_1.gadgets = L5_1
L5_1 = {}
L6_1 = 206008
L5_1[1] = L6_1
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "GADGET_STATE_CHANGE_206007"
L7_1 = "ENTER_REGION_206008"
L8_1 = "QUEST_START_206009"
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L3_1[1] = L4_1
suites = L3_1
function L3_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2
  L2_2 = GadgetState
  L2_2 = L2_2.GearStop
  L3_2 = ScriptLib
  L3_2 = L3_2.GetGadgetStateByConfigId
  L4_2 = A0_2
  L5_2 = 133222206
  L6_2 = 206004
  L3_2 = L3_2(L4_2, L5_2, L6_2)
  if L2_2 ~= L3_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_206007 = L3_1
function L3_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.AddQuestProgress
  L3_2 = A0_2
  L4_2 = "7215605"
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : add_quest_progress"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_206007 = L3_1
function L3_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 206004
  L5_2 = GadgetState
  L5_2 = L5_2.GearStart
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_QUEST_START_206009 = L3_1
L3_1 = require
L4_1 = "V2_1/Wakura"
L3_1(L4_1)
